@import './colors.scss';

/**去除浏览器上自带的样式**/
$bg-color: rgba(232,234,237,1);
$cz-h:  30px;
$cz-w:  90px;
$cz-btn-font-size:  14px;


input {
    /**去除iPhone、iPad的默认样式*/
    -webkit-appearance: none;
    border-radius: 0;
    /**去除Chrome等浏览器文本框默认发光边框**/
    &:focus {
        outline: none;
        /**以下两个去除高光样式**/
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        -webkit-user-modify: read-write-plaintext-only;
    }
    &::-ms-clear {
        /**去除IE10+浏览器文本框后面的小叉叉**/
        display: none;
    }

}

textarea {
    -webkit-appearance: none;
    /**禁止多行文本框textarea拖拽**/
    resize: none;
    /**去除Chrome等浏览器文本框默认发光边框**/
    &:focus {
        outline: none;
        /**以下两个去除高光样式**/
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        -webkit-user-modify: read-write-plaintext-only;
    }
}

button {
    /**去除chrome等浏览器中边框的阴影**/
    border: none;
    &:focus {
        /**以下两个去除高光样式**/
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        outline: none;
    }

    &:disabled {
        background: {
            color: $disable-color;
            box-shadow: 0 0 0 0;
        }
    }
}
html, body{
   background: $bg-color;
   *{
       font-family: 'yahei consolas hybrid';
   };
   
   input,button,select,textarea,div,li{outline:none;}
};

.ant-drawer-content-wrapper {
    max-height: 100%;
    overflow: auto;
}

::-webkit-scrollbar-track-piece { //滚动条凹槽的颜色，还可以设置边框属性
    background-color:rgba(247,247,247,.5);
 }
 ::-webkit-scrollbar {//滚动条的宽度
    width:16px;
    height:16px;
 }
 ::-webkit-scrollbar-thumb {//滚动条的设置
    // border-radius: 10px;
    background: rgba(29,117,224,.2)
 }
 ::-webkit-scrollbar-thumb:hover {
    background-color:rgba(29,117,224,.5);
 }
 .ant-table-fixed-header .ant-table-scroll .ant-table-header::-webkit-scrollbar {
    border: 1px solid #e8e8e8;
    border-width: 0 0 1px;
    width: 0;
}